﻿/*
#**************************************************************************
#  openSIS is a student information system for public and non-public 
#  schools from Open Solutions for Education, Inc. web: www.os4ed.com
#
#  openSIS is  web-based, open source, and comes packed with features that 
#  include student demographic info, scheduling, grade book, attendance, 
#  report cards, eligibility, transcripts, parent portal, 
#  student portal and more.   
#
#  Visit the openSIS web site at http://www.opensis.com to learn more.
#  If you have question regarding this system or the license, please send 
#  an email to info@os4ed.com.
#
#  This program is released under the terms of the GNU General Public License  
#  as  published by the Free Software Foundation, version 2 of the License. 
#  See license.txt.
#
#  This program is distributed in the hope that it will be useful,
#  but WITHOUT ANY WARRANTY; without even the implied warranty of
#  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
#  GNU General Public License for more details.
#
#  You should have received a copy of the GNU General Public License
#  along with this program.  If not, see <http://www.gnu.org/licenses/>.
#
#**************************************************************************** 

*/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ServiceModel;
using System.Data;

namespace WcfService1
{
    [ServiceContract]
    public interface IOpenSISWCFServiceSchoolDetails
    {
        [OperationContract]  // School Add
        void SchoolAdd(string ShortName, string SchoolName, string Address1, string Address2, string City, int State, string Zip, string Fax, string Phone, string Url, int CeebNum, string Type, string Level,  string PostZip, int PostState, string PostCity, string PostBox, string EmerPhone, string LastUpdated, string Email, string Principal, string BaseGradeScale, int Country, string PostBoxAddress1, string PostBoxAddress2, int PostBoxCountry);

        [OperationContract]  // School Edit
        void SchoolEdit(string ShortName, string SchoolName, string Address1, string Address2, string City, int State, string Zip, string Fax, string Phone, string Url, int CeebNum, string Type, string Level,  string PostZip, int PostState, string PostCity, string PostBox, string EmerPhone, string LastUpdated, string Email, string Principal, string BaseGradeScale, int Country, string PostBoxAddress1, string PostBoxAddress2, int PostBoxCountry, int SchoolID);

        [OperationContract]  // School Search
        DataTable SearchSchool();

        [OperationContract]  //Max School ID
        int MaxSchoolID();

        [OperationContract]  // School Get Value from ID
        DataTable GetvalufromID(int schoolid);

        [OperationContract]  // School Grade Population
        DataSet propulate(int SchoolId);



        [OperationContract]  // School Update Max Grade
        void UpdateMaxGrade(int MaxGrade,int SchoolID);

        [OperationContract]  // School Update Min Grade
        void UpdateMinGrade(int MinGrade, int SchoolID);








        ////Installation

        //[OperationContract]
        //void InsertInstalsettings(string Language, string Dateformat, string DatabaseType, string Server, string Databasename, string DatabaseUsername, string DatabasePassword, string Port, string AdminUsername, string AdminPassword, string TimeZone);
        //[OperationContract]
        //int AddSchoolName();

        //[OperationContract]
        //int InsertBeginEndDate();
        //[OperationContract]
        //void InsertBeginEndDateintomarkin();
        //[OperationContract]
        //int AddGradeLevelInstall();

        //[OperationContract]
        //void UpdateMaxGradeInstall();

        //[OperationContract]
        //void UpdateMinGradeInstall();

        //[OperationContract]
        //DataTable getdateformat();

        //[OperationContract]
        //DataTable getTimeJoneCode();


        //[OperationContract]
        //int InsertBeginEndDateschooladd();


        //[OperationContract]
        //void InsertBeginEndDateintomarkinschooladd();



        ////Mysql Implementation


        //[OperationContract]
        //DataTable CheckMysqlDB();

        ////added on 22nd september
        //[OperationContract]
        //void InsertintoSchoolspeccatInstall();

        //[OperationContract]
        //void InsertintoSchoolspeccataddInstall();





        ////GradeLEvel
        //[OperationContract]
        //void AddGradeLevel();
        //[OperationContract]
        //System.Data.DataTable PopulateGradeLevel();
        //[OperationContract]
        //DataTable PropulateNextGrade();
        //[OperationContract]
        //void DeleteGradeLevel();
        //[OperationContract]
        //void UpdateGradeLevel();
        //[OperationContract]
        //String CheckTitleAndShortName();
        //[OperationContract]
        //System.Data.DataTable GradeLevelDeleteCheck();
        //[OperationContract]
        //System.Data.DataTable GradeLevelUseInNextGradeLevelCheck();
        //[OperationContract]
        //void UpdateGradeShortOrder();


        //[OperationContract]
        //void PopulateMaxGradeLevelID();
    }
}